﻿using LimaLims.Application.Service.Sys.Dto;
using LimaLims.Core.Entity.System;
using LimaLims.Core;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LimaLims.Application.Service.Sys
{
    public interface ISysDictTypeService
    {
        Task AddDictType(AddDictTypeInput input);

        Task DeleteDictType(long id);

        Task<List<DictTreeOutput>> GetDictTree();

        Task<SysDictType> GetDictType(long id);

        Task<List<SysDictData>> GetDictTypeDropDown(string code);

        Task<List<SysDictType>> GetDictTypeList();

        Task<PageResult<SysDictType>> QueryDictTypePageList([FromQuery] DictTypePageInput input);

        Task UpdateDictType(UpdateDictTypeInput input);
    }
}
